#ifndef SCENE_LAYER_H
#define SCENE_LAYER_H
#include "AbstractLayer.h"

class SceneLayer : public AbstractLayer
{
    Q_OBJECT	
public:
    virtual ~SceneLayer();	
public:
    virtual bool initFromBuffer(const QByteArray& buffer,QString* error = nullptr);
	virtual bool initFromFile(const QString& file,QString* error = nullptr);
	
	virtual void saveToFile(const QString& file);
public:
    virtual SceneItem* pick(int x,int y);
	
};

#endif